﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Ue.CQRS.Samples.Domain.Models
{
    /// <summary>
    /// 库存
    /// </summary>
    public class Stock
    {
        public Stock(int total,int inventory)
        {
            this.Total = total;
            this.Inventory = inventory;
        }

        /// <summary>
        /// 总量
        /// </summary>
        public int Total { get; private set; }

        /// <summary>
        /// 库存量
        /// </summary>
        public int Inventory { get; private set; }
    }
}